package com.listener;

import org.junit.jupiter.api.Test;

public class Receive {
	@Test
	public void door() {
		Door door = new Door(new DoorListener() {
			
			@Override
			public void onMessage(String message) {
				System.out.println(message);
			}
		});
		door.send();
	}
}
